import { BaseState } from "./BaseState";

export interface BaseLogic<T extends BaseState> {
    
    state:T

    setState(state:T)
    /**
     * 界面enable时
     */
    init(args:object) :void;
    /**
     * 界面disable时
     */
     dispose() :void;
}